home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Aventura / FireMan.swf / scripts / frame_2642 / PlaceObject2_1258_65 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Text File  |  2008-09-12  |  295b  |  15 lines

  1. onClipEvent(enterFrame){
  2.    c++;
  3.    if(c >= 4)
  4.    {
  5.       c = 0;
  6.       i++;
  7.       if(i >= 5)
  8.       {
  9.          i = 1;
  10.       }
  11.       initObj = {_x:_X + _root.aleatorio(-15,15),_y:_Y + _root.aleatorio(-10,10) - 16};
  12.       _root.smoke.duplicateMovieClip("smoke" + i,i,initObj);
  13.    }
  14. }
  15.